package ru.study.thinkin.chapter13;

import java.lang.reflect.*;
import java.util.regex.*;

public class ShowMethods {
	
	public static void main(String[] args) {

		try {
			Class<?> c = Class.forName("ru.study.thinkin.chapter13.ShowMethods");
			Method[] methods = c.getMethods();
			Constructor[] ctors = c.getConstructors();

			for (Method method : methods) {
				System.out.println(method.toString().replaceAll("java.lang."," " ));
			}

		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}

	}

}
